package com.sgu6.sgu6_machine.dto;

import java.io.Serializable;

/**
 * 更新返回对象
 */
public class UpdateMachinePwdDto implements Serializable {

    /**
     * succeed : true
     * errCode : 601
     * errMsg : 用户名或密码错误
     */
    private boolean succeed;
    /**
     * errCode : 601
     * errMsg : 用户名或密码错误
     */

    private int errCode;
    private String errMsg;

    public UpdateMachinePwdDto(boolean succeed) {
        this.succeed = succeed;
    }


    public boolean isSucceed() {
        return succeed;
    }

    public void setSucceed(boolean succeed) {
        this.succeed = succeed;
    }


    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

}
